/**
 * @author  ：fangjj 
 * @version ：2009-2-19 下午02:38:22
 */
package com.sendinfo.xspring.exception;
/**
 * @author 作者：fangjj E-mail:fangjianjiang725@163.com
 * @version 创建时间：2009-2-19 下午02:38:22
 * 类说明
 */
public final class XspringError {   
	  
    private static final long serialVersionUID = 217246126247731875L;   

    private String code;   
    private String message;  
    
    public XspringError(String code, String msg) {   
    	this.code = code;
        this.message = "Xspring-" + code + ":" + msg;   
    }   

    public final String getCode() {   
        return this.code;   
    }   
       
    public final String getMessage() {   
        return this.message;   
    }   
       
}   
